package cn.cyh.queue_service.mq.event;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 服务完成事件消息
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CompleteServiceEvent implements Serializable {
    
    private static final long serialVersionUID = 1L;
    
    /**
     * 事件类型
     */
    private String eventType = "COMPLETE_SERVICE";
    
    /**
     * 票号
     */
    private String ticketNumber;
    
    /**
     * 窗口ID
     */
    private Long windowId;
    
    /**
     * 窗口号
     */
    private String windowNumber;
    
    /**
     * 业务类型ID
     */
    private Long serviceTypeId;
    
    /**
     * 服务时间（分钟）
     */
    private Integer serviceTime;
    
    /**
     * 状态
     */
    private String status;
    
    /**
     * 时间戳
     */
    private Long timestamp;
    
    /**
     * 评价等级
     */
    private Integer ratingLevel;
    
    /**
     * 评价内容
     */
    private String ratingContent;
} 